<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>基本信息</title>  
    <link rel="stylesheet" href="{{asset('admin_style/css/pintuer.css')}}">
    <link rel="stylesheet" href="{{asset('admin_style/css/admin.css')}}">
    <script src="{{asset('admin_style/js/jquery.js')}}"></script>
    <script src="{{asset('admin_style/js/pintuer.js')}}"></script>  
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 设置头像</strong></div>
  <div class="body-content">
    <form method="post" class="form-x"   enctype="multipart/form-data"  action="{{ url('home/addImage')}}">
     <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
      <div class="form-group">
        <div class="label">
          <label>设置头像：</label>
        </div>
        <div class="field">
	 <img id="logo" src="{{asset('admin_style/uploads').'/'.$data->u_portrait}}" style='width:100px;height:100px'>
          <input type="file" class="button bg-blue margin-left" id="image1" name='u_portrait' value="+ 浏览上传" >
        </div>
      </div>     
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
</body></html>
